from entity import Concrete


class Data:
    def __init__(self):
        self.__concrete_map = {
            "C30": Concrete(14.3, 2.01, 0.00043),
            "C35": Concrete(16.7, 2.20, 0.00044),
            "C40": Concrete(19.1, 2.39, 0.00046),
            "C45": Concrete(21.1, 2.51, 0.00047)
        }

    def get_concrete(self, code):
        return self.__concrete_map[code]

